import com.lx.service.CompanyService;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author 段誉
 * @create 2020-06-12 14:00
 */
public class Main {
  public static void main(String[] args) {
    ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext(
            "sqlite.xml");
    CompanyService companyService = (CompanyService) applicationContext.getBean("companyService");
//    companyService.insert("新公司", "简介");
    System.out.println(companyService.selectById(1));
  }
}
